<div class="widget-box">
  <div class="widget-title title-bar">    
    <h3>
      <span>{{widget_title}}</span>
    </h3>
  </div>    

  <div class="widget-content">
    <form role="form" class="form-horizontal" ng-submit="update(position)">
      <div class="control-group">
        <label class="control-label">岗位名称</label>
        <div class="controls">
          <input type="text" ng-model="position.name" placeholder="必填项" required>
        </div>
      </div>
      <div class="control-group">
        <label class="control-label">岗位类型</label>
        <div class="controls">
          <select ng-model="position.nature.name" data-ng-options="x.name as x.name for x in natures" required>
           <option value="">---请选择---</option>
          </select>
          </div>
      </div>
      

      <div class="form-actions">        
        <input type="submit" class="btn bg-green" value="保存">        
      </div>
    </form>
  </div> 
</div>
